def crnumber(total_heads, total_feet):
    # 计算兔子数量：(总脚数 - 2*总头数) / 2
    rabbit = (total_feet - 2 * total_heads) / 2
    # 计算鸡的数量：总头数 - 兔子数量
    chicken = total_heads - rabbit

    # 验证结果是否为非负整数
    if (rabbit.is_integer() and chicken.is_integer() and
            rabbit >= 0 and chicken >= 0):
        return int(chicken), int(rabbit)
    else:
        return "无解：输入的头数和脚数不符合实际情况"


# 示例调用
print(crnumber(35, 94))  # 35头94脚，输出(23, 12)
print(crnumber(10, 30))  # 输出(5, 5)
print(crnumber(5, 100))  # 输出无解提示